import React, {lazy,Suspense, Component } from 'react';
import Errorboundary from '../ErrorBpundary/ErrorBoundary';
const Item =lazy(()=>import(/*webpackChunkName:'asyncItem'*/'./Children/item'))
class Index extends Component {
    
    render() {
        
        return (
            <div>
                <Errorboundary>
                    <Suspense fallback={<div>loading...</div>}>
                        <Item></Item>
                    </Suspense>
                </Errorboundary>
            </div>
        );
    }
    
}

export default Index;
